package com.example.lawyermanager.dangao.service;

import com.example.lawyermanager.dangao.entity.Lawyer;

import java.util.List;

/**
 *
 * @author 86134
 * @version 1.0
 */

public interface LawyerService {
    /**
     * 删除律师档案
     * @param lawyerid
     * @return 1 成功 0 失败
     */
    public int removeLawyer(int lawyerid);
    /**
     * 查询所有律师
     * @return 律师集合
     */
    public List<Lawyer> findLawyer();
    /**
     * 添加律师
     * @param lawyer
     * @return 1 成功 0 失败
     */
    public int addLawyer(Lawyer lawyer);
}
